package com.fund.user;

import com.fund.common.config.CorsConfig;
import com.fund.common.config.MvcConfig;
import com.fund.common.config.MyBatisConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@MapperScan("com.fund.user.mapper")
@SpringBootApplication
@Import({MvcConfig.class, MyBatisConfig.class})
@EnableFeignClients(basePackages = "com.fund.api.client")
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
